UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The macOS system must generate audit records for DOD-defined events such as successful/unsuccessful logon attempts, successful/unsuccessful direct access attempts, starting and ending time for user access, and concurrent logons to the same account from different sources.


Overview

Finding ID Version Rule ID IA Controls Severity
V-257182 APPL-13-001044 SV-257182r905179_rule Medium
Description
Without generating audit records that are specific to the security and mission needs of the organization, it would be difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one. Audit records can be generated from various components within the information system (e.g., module or policy filter). Logon events are logged by way of the "aa" flag. Satisfies: SRG-OS-000470-GPOS-00214, SRG-OS-000472-GPOS-00217, SRG-OS-000473-GPOS-00218, SRG-OS-000475-GPOS-00220
STIG Date
Apple macOS 13 (Ventura) Security Technical Implementation Guide 2024-02-06

Details

Check Text ( C-60867r905177_chk )
Verify the macOS system is configured to audit logon events with the following command:

/usr/bin/sudo /usr/bin/grep ^flags /etc/security/audit_control

If "aa" is not listed in the result of the check, this is a finding.
Fix Text (F-60808r905178_fix)
Configure the macOS system to audit logon events with the following command:

/usr/bin/sudo /usr/bin/sed -i.bak '/^flags/ s/$/,aa/' /etc/security/audit_control; /usr/bin/sudo /usr/sbin/audit -s

A text editor may also be used to implement the required updates to the "/etc/security/audit_control" file.